﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Big_Data.View
{
    public partial class Form1 : Form
    {
        DataBase userDB = new DataBase();
        public Form1()
        {
            InitializeComponent();
        }

        private void dataGridView1_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {

        }


        public void BindData()
        {




        }

        private void winGridView1_Load(object sender, EventArgs e)
        {
            string sqlstr = "select * from S_distributor";
            DataTable table = userDB.distributortableshow(sqlstr);
            this.winGridView1.DataSource = table;
           
        }
    }
}
